package com.haircut.sys.vo.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Setter
@Getter
public class UserAddVo extends UserVo {
    /**
     * 登录密码
     */
    @ApiModelProperty("登录密码")
    @NotNull(message = "登录密码必须填写")
    @Length(min = 6,max = 20,message = "登录账号范围[6~10]个字符")
    private String userwd;
}
